[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
Command/ startxtable Command/ stoplinenote Command/ style Command/ synonym Command/ textbackground Command/ textnote Command/ tooltip Command/ type Command/ typebuffer Command/ unit ___ If your question is of interest to ot

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-03 Thread tala...@fastmail.fm
ion=arabic-hindi, headstyle=\lefttoright, ]\unexpanded\def\doVariant#1#2#3%{\startlinenote[#1]{#2[ #3}#2\stoplinenote[#1]}\newcounter\countvariants\unexpanded\def\variant{\doglobal\increment\countvariants\normalexpanded{\doVariant{Varia:\countvariants}}}%%% DOCUMENT%\startsetups[not

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
Thanks for that, Wolfgang. I can only hope that, as the culprit is known, it can be apprehended! Idris: here is the document that I had sent (and many thanks to you and to Pablo for the more general advice): \unexpanded\def\doVariant#1#2#3% {\startlinenote[#1]{#2] #3}#2\stoplinenote

[NTG-context] issue with hyphenation in linenotes

2015-07-23 Thread Pablo Rodriguez
This text shows a \startlinenote[one]{bariant H} variant \stoplinenote[one]. This text shows a \startlinenote[two]{bariant H}\prewordbreak variant\stoplinenote[two]. This text shows a \startlinenote[three]{bariant H}\prewordbreak variant\stoplinenote[three

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Pablo Rodriguez
thing to do. The original thread is three years old. Anyway, this may help you (it isn’t my original code): \unexpanded\def\doVariant#1#2#3% {\startlinenote[#1]{#2] #3}#2\stoplinenote[#1]} \newcounter\countvariants \unexpanded\def\variant {\doglobal\increment\countvariants

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Talal
\section{EX2} \section{With start and stop} \startlinenote[one] {\lemma ] \comment} \bodytext \stoplinenote[one] \stoplinenumbering \stoptext - - - In the above, I have been able to successfully do automate this using the macro command variant. With this approach, however, the line number is only

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread tala...@fastmail.fm
. Anyway, this may help you (it isn’t my original code): \unexpanded\def\doVariant#1#2#3% {\startlinenote[#1]{#2] #3}#2\stoplinenote[#1]} \newcounter\countvariants \unexpanded\def\variant {\doglobal\increment\countvariants \normalexpanded{\doVariant{Varia

Re: [NTG-context] bug in hyphenation?

2014-09-18 Thread Pablo Rodriguez
% {\startlinenote[#1]{#2 #3}#2\stoplinenote[#1]} \newcounter\MyCounter \unexpanded\def\CritApp {\doglobal\increment\MyCounter \normalexpanded{\doCritApp{Varia:\MyCounter}}} %~ \def\CritApp#1#2{#1} \starttext με τὴν τέχνην ταύτην \CritApp{ἴσα}{neut. pl. acc. adverbial, “equally to” + dat

Re: [NTG-context] bug in hyphenation?

2014-09-18 Thread Thomas A. Schmitz
% {\startlinenote[#1]{#2 #3}#2\stoplinenote[#1]} \newcounter\MyCounter \unexpanded\def\CritApp {\doglobal\increment\MyCounter \normalexpanded{\doCritApp{Varia:\MyCounter}}} \starttext supercalifragilisticexpialidocious \CritApp{supercalifragilisticexpialidocious}{test} \stoptext On 18 Sep 2014, at 08

[NTG-context] (critical edition) text reducing command

2013-12-06 Thread Pablo Rodriguez
Hi Thomas, Luigi and Hans, I have a feature suggestion that might be interesting to implement for critical editions. Here is my code sample: \mainlanguage[la] \unexpanded\def\doVariant#1#2#3% {\startlinenote[#1]{#2] #3}#2% \prewordbreak\stoplinenote[#1]} \newcounter\VarCounter

Re: [NTG-context] (critical edition) nesting linenotes

2013-11-19 Thread Pablo Rodriguez
On 11/18/2013 11:25 PM, Hans Hagen wrote: [...] \unexpanded\def\doCritApp#1#2#3% {\startlinenote[#1]{#2 #3}(#2)\stoplinenote[#1]} \newcounter\MyCounter \unexpanded\def\CritApp {\doglobal\increment\MyCounter \normalexpanded{\doCritApp{Varia:\MyCounter}}} [...] so, in your macro

[NTG-context] (critical edition) not hyphenated body with linenotes

2013-11-18 Thread Pablo Rodriguez
Dear Thomas, Luigi and Hans, here is my first sample to the critical edition project of Thomas. I think it is a bug. This is the code: \setuppapersize[A8] \starttext \startlinenumbering This text shows a \startlinenote[one]{bariant H} variant \stoplinenote[one]. This text shows

[NTG-context] (critical edition) nesting linenotes

2013-11-18 Thread Pablo Rodriguez
Dear Thomas, Luigi and Hans, my second sample might be related to the first one. But I’m not sure it is a bug. Here is the code: \setuppapersize[A8] \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1% \prewordbreak\stoplinenote[Varia

Re: [NTG-context] (critical edition) nesting linenotes

2013-11-18 Thread Hans Hagen
]{#1] #2}#1% \prewordbreak\stoplinenote[Varia:\MyCounter]} \starttext \startlinenumbering \startlinenote[one]{hyphenated}this is a test on \startlinenote[two]{with nested linenote}hyphenation\prewordbreak\stoplinenote[two]\stoplinenote[one] \CritApp{this is a test on \CritApp{hyphenation}{nested

[NTG-context] bug in linenote?

2013-11-07 Thread Pablo Rodriguez
Dear list, I have a sample of nested linenotes (containing an user-defined command): \setuppapersize[A8] \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1% \prewordbreak\stoplinenote[Varia:\MyCounter]} \starttext \startlinenumbering

[NTG-context] issue with linenotes command

2013-11-04 Thread Pablo Rodriguez
: \setuppapersize[A8] \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1% \prewordbreak\stoplinenote[Varia:\MyCounter]} \starttext \startlinenumbering \startlinenote[one]{hyphenated}this is a test on \startlinenote[two]{with nested linenote}hyphenation

[NTG-context] nested linenotes

2013-10-29 Thread Pablo Rodriguez
Dear list, I have the following sample: \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1% \prewordbreak\stoplinenote[Varia:\MyCounter]} \starttext \startlinenumbering \CritApp{this is a first \CritApp{legibility}{how about a nested

[NTG-context] issue with \stoplinenote

2013-08-10 Thread Pablo Rodríguez
un hidalgo de los de lanza en astillero, adarga antigua, rocín flaco y galgo corredor.\stoplinenote[MRU] \stoplinenumbering \stoptext Last word in body doesn’t get hyphenated. I know that this is something related to references. But in the meantime: wouldn’t it be possible

[NTG-context] weird interaction in linenotes command (again)

2013-07-17 Thread Pablo Rodríguez
]\Variant {\increment\LineNote \startlinenote[LineNote:\LineNote]{#2}#1% \stoplinenote[LineNote:\LineNote]} \starttext \startlinenumbering \dorecurse{10}{\Variant{\showhyphens{legislation}not original}{variant} \Variant{\showhyphens{legibility}origin

Re: [NTG-context] weird interaction in linenotes command (again)

2013-07-17 Thread Wolfgang Schuster
=yes] \setupnotation[linenote][alternative=serried] \define[2]\Variant {\increment\LineNote \startlinenote[LineNote:\LineNote]{#2}#1% \stoplinenote[LineNote:\LineNote]} \starttext \startlinenumbering \dorecurse{10}{\Variant{\showhyphens{legislation

Re: [NTG-context] PDF-Toc text is wrong for new \start? commands

2013-07-16 Thread Andres Conrado
[LineNote:\LineNote]{#1 #2} #1% \stoplinenote[LineNote:\LineNote]} \starttext \startlinenumbering \dorecurse{10}{\Variant{not original}{variant} \Variant{origin}{variants} } \stoplinenumbering \stoptext I have realized that hyphenation is disabled in body text when \increment

[NTG-context] counter in linenote disables hyphenation in body text

2013-07-15 Thread Pablo Rodríguez
Dear list, in the following sample: \setuppapersize[A6] \newcounter\LineNote \setupnote[linenote][paragraph=yes] \setupnotation[linenote][alternative=serried] \define[2]\Variant {\increment\LineNote \startlinenote[LineNote:\LineNote]{#1 #2} #1% \stoplinenote[LineNote:\LineNote

Re: [NTG-context] two bugs with compressed linenotes

2013-07-11 Thread Pablo Rodríguez
of ... 1 \setupnotation[linenote][compress=yes] 2 \starttext 3 4 \startlinenumbering 5 \linenote{Without this note, line numbering from ranges is 6 right}\startlinenote[one]{This should have lines 1 to 3.}line one\\ 7 line two\\ 8 line three\stoplinenote[one] 9

[NTG-context] compressed linenotes break right line range numbering

2013-06-26 Thread Pablo Rodríguez
}\startlinenote[one]{This should have lines 1 to 3.}line one\\ line two\\ line three\stoplinenote[one] \stoplinenumbering \stoptext It happens when compressed linenotes are enabled and there is a linenote before the \startlinenote. In that case, only the first line is numbered, not the last. Could you

Re: [NTG-context] compressed linenotes break right line range numbering

2013-06-26 Thread Hans Hagen
this note, line numbering from ranges is right}\startlinenote[one]{This should have lines 1 to 3.}line one\\ line two\\ line three\stoplinenote[one] \stoplinenumbering \stoptext It happens when compressed linenotes are enabled and there is a linenote before the \startlinenote. In that case, only

Re: [NTG-context] counters identifying notes

2013-06-22 Thread Pablo Rodríguez
% \stoplinenote[\getnumber[lnt]]% \incrementnumber[lnt]} 1. Use came case for your own command names to avoid conflicts with core commands. 2. Don’t use simple numbers as reference names. 3. You can’t use nested brackets which causes problems with the parser for the arguments. What you

[NTG-context] counters identifying notes

2013-06-21 Thread Pablo Rodríguez
Dear list, I have the following code: \definenumber[lnt] \setupnote[linenote][paragraph=yes] \def\variant#1#2{% \startlinenote[0]{#1] #2}#1% \stoplinenote[0]} \starttext \startlinenumbering \variant{body text}{variant} \stoplinenumbering \stoptext And I

Re: [NTG-context] counters identifying notes

2013-06-21 Thread Wolfgang Schuster
Am 21.06.2013 um 19:40 schrieb Pablo Rodríguez oi...@web.de: Dear list, I have the following code: \definenumber[lnt] \setupnote[linenote][paragraph=yes] \def\variant#1#2{% \startlinenote[0]{#1] #2}#1% \stoplinenote[0]} \starttext \startlinenumbering

[NTG-context] linenotes: possible bug and feature request

2012-08-01 Thread Pablo Rodríguez
: entitates W} entia \stoplinenote[one] non sunt multiplicanda \startlinenote[two]{praeter necessitatem: sine necessitate H} praeter necessitatem \stoplinenote[two]. \stoplinenumbering \stoptext And with latest beta I get an error, since blank spaces before \startlinenote...\stoplinenote are removed

Re: [NTG-context] Critical editions with ConTeXt

2012-07-22 Thread Pablo Rodríguez
] \definelinenote[linenote] \starttext \startlinenumbering Entia non sunt multiplicanda \startlinenote[one]{praeter necessitatem] sine necessitate H} praeter necessitatem \stoplinenote[one]. \stoplinenumbering \stoptext If I'm not wrong, I'm afraid there might be a bug here, since there is no space between

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Hans Hagen
to the last.} \dorecurse{40}{test }. \stoplinenote [one] \linenote {A simple linenote does not have a number range} \dorecurse{30}{test }\removeunwantedspaces. \stoplinenumbering \stoptext but as you mention the interface is a bit problematic as start/stop is not nice when being nested: \let

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Sietse Brouwer
I'm trying to get straight in my head what critical-edition-related commands are already implemented in ConTeXt. Implemented: (a) footnotes on specific lines, specified inline: \linenote{note text} (b) ditto on line ranges: \startlinenote[tag]{note text} ... \stoplinenote[tag] (c) tag a line

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Wolfgang Schuster
Am 20.07.2012 um 19:33 schrieb Sietse Brouwer: Hans wrote: but as you mention the interface is a bit problematic as start/stop is not nice when being nested Do you mean it doesn't look nice, or is it so that nesting or interleaving \startlinenote[tag] ... \stoplinenote[tag] environments

Re: [NTG-context] present state of critical editions with ConTeXt MKIV ?

2010-10-04 Thread Hans Hagen
\linenote {oeps 4} test test test test test test test \linenote {oeps 5} test test test test test test test \stoplinenote [well] test test test test test test \stoplinenumbering \stoptext not entirely but somewhat similar best is to team with Idris and Thomas in writing down specs for what more needed

Re: [NTG-context] critical editions in context

2005-03-16 Thread h h extern
test test test \linenote {oeps} test test test test test test test \extralinenote {oeps} test test test test test test test \stoplinenote [well] test test test test test test \stoplinenumbering \stopbuffer {\typebuffer[test] \getbuffer[test]} \page \startbuffer[setup] \setuplinenumbering [align=left